<?php
/**
 * 杂项操作
 * @copyright reginx.com
 * $Id: misc.mod.php 133 2013-01-08 11:09:05Z reginx.com@gmail.com $
 */
class misc_mod extends mod {
    
    /**
     * 输出验证码
     *
     */
    public function verifyAct(){
        $code = strtolower(core::randstr());
        $this->opensess($this->_conf['sess']);
        $this->sobj->set('verify' , md5($code));
        image_lib::verify($code,54,24);
    }
}
?>